﻿<UserControl x:Class="SmartSpace.Silverlight.UI.MessagePanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="240" d:DesignWidth="320" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">
    <Border BorderBrush="#55000000" BorderThickness="3" CornerRadius="3" Padding="3" Background="#88ffffff">
        <Grid x:Name="LayoutRoot">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="auto"/>
            </Grid.RowDefinitions>
            <Border Grid.Row="0" BorderBrush="#55000000" BorderThickness="0,0,0,3">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Text="信息提醒"/>
                    <StackPanel Grid.Column="1"  Orientation="Horizontal" FlowDirection="RightToLeft">
                        <Button Content="H" Click="Button_Click" />
                        <Button Content="V"/>
                    </StackPanel>
                </Grid>
            </Border>
            <TextBlock Grid.Row="1" Text="来源:系统"/>
            <TextBlock Grid.Row="2" Text="时间:2011年9月5日"/>
            <TextBlock Grid.Row="3" Text="信息内容"/>
            <StackPanel Grid.Row="4"  Orientation="Horizontal">
                <HyperlinkButton>查看</HyperlinkButton>
                <HyperlinkButton>上一条</HyperlinkButton>
                <HyperlinkButton>下一条</HyperlinkButton>
            </StackPanel>
        </Grid>
    </Border>
</UserControl>
